|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMediaContainer
This interface represents a folder resource that contains media resources such as audio and grammar file resources as well as other folder resources that can contain similar items.
| Method Summary | |
|---|---|
IMediaFile |
create(java.lang.String name)
Creates a new media file with the given name. |
IMediaFile |
create(java.lang.String name,
java.io.InputStream source,
org.eclipse.core.runtime.IProgressMonitor monitor)
Creates a new media file with the given name. |
IMediaFile |
getMediaFile(java.lang.String name)
Locates the media file with the given name. |
IMediaFolder |
getMediaFolder(java.lang.String name)
Locates the media folder with the given name. |
java.util.List |
listMediaResources()
|
IMediaFolder |
makeDirectory(java.lang.String name)
Creates a new media folder with the given name. |
| Methods inherited from interface org.eclipse.vtp.desktop.projects.core.IVoiceToolsResource |
|---|
addRefreshListener, deferEvents, getName, getParent, getProject, refresh, removeRefreshListener, resumeEvents |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Method Detail |
|---|
java.util.List listMediaResources()
throws org.eclipse.core.runtime.CoreException
IMediaResources contained by this
media folder resource
org.eclipse.core.runtime.CoreException - If an error occured while enumerating the media
resourcesIMediaFolder getMediaFolder(java.lang.String name)
name - The name of the desired media folder
null if not foundIMediaFile getMediaFile(java.lang.String name)
name - The name of the desired media file
null if not found
IMediaFile create(java.lang.String name)
throws org.eclipse.core.runtime.CoreException
name - The name of the new media file
org.eclipse.core.runtime.CoreException - If an error occured while creating the new media
file
IMediaFile create(java.lang.String name,
java.io.InputStream source,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
name - The name of the new media filesource - The initial contents of the filemonitor - A progress monitor for user feedback
org.eclipse.core.runtime.CoreException - If an error occured while creating the new
media file
IMediaFolder makeDirectory(java.lang.String name)
throws org.eclipse.core.runtime.CoreException
name - The name of the new media folder
org.eclipse.core.runtime.CoreException - If an error occured while creating the media
folder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||